<?php
class Log_model extends CI_Model{
 
    private $_table="log";
    
    function get_log(){
        $query=$this->db->get($this->_table);
        return $query->result_array();
    }
}
